package com.itheima;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult<T> {

    private Integer pageNum; //当前页码
    private Integer pageSize;
    private Integer totalPage;//总页数
    private Integer total;//总条数
    private List<T> items;
}
